package com.simonall.conf;

import java.io.Serializable;

import lombok.Data;
import lombok.experimental.FieldNameConstants;

/**
 * 配置
 * 
 * @author simonall
 */
@Data
@FieldNameConstants
public class Propertys implements Serializable {

	private static final long serialVersionUID = -2149454222440915765L;

	/**
	 * 默认：启动Web服务
	 * 
	 * true
	 */
	public static final boolean DEFAULT_SERVER_ENABLE = true;

	/**
	 * 默认：Web服务端口
	 * 
	 * 80
	 */
	public static final Integer DEFAULT_SERVER_PORT = 9501;

	/**
	 * 是否启用服务
	 * 
	 */
	private boolean enable = DEFAULT_SERVER_ENABLE;

	/**
	 * 端口
	 * 
	 */
	private Integer port = DEFAULT_SERVER_PORT;

}
